<?php 
echo '<br><font color="red" size="3">Change Images Home</font><br><br>';
echo '<form action = "'.base_url().'addmincont/changeImage" method="post" name="changeimg">';
	echo "<table>";
			
		echo "<tr><td>";
			echo anchor(base_url().'addmincont/editImgHome/1',$images[0]['name']).'<br>'; 
			echo anchor(base_url().'addmincont/editImgHome/1','<img src="'.base_url().'public/images/'.$images[0]['images'].'" class="statusicon" width="275" height="170">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImgHome/2',$images[1]['name']).'<br>';
			echo anchor(base_url().'addmincont/editImgHome/2','<img src="'.base_url().'public/images/'.$images[1]['images'].'" class="statusicon" width="275" height="170">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImgHome/3',$images[2]['name']).'<br>';
			echo anchor(base_url().'addmincont/editImgHome/3','<img src="'.base_url().'public/images/'.$images[2]['images'].'" class="statusicon" width="275" height="170">');
		echo "</td></tr>";
		
		echo "<tr><td>";
			echo anchor(base_url().'addmincont/editImgHome/4',$images[3]['name']).'<br>';
			echo anchor(base_url().'addmincont/editImgHome/4','<img src="'.base_url().'public/images/'.$images[3]['images'].'" class="statusicon" width="275" height="170">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImgHome/5',$images[4]['name']).'<br>';
			echo anchor(base_url().'addmincont/editImgHome/5','<img src="'.base_url().'public/images/'.$images[4]['images'].'" class="statusicon" width="275" height="170">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImgHome/6',$images[5]['name']).'<br>';
			echo anchor(base_url().'addmincont/editImgHome/6','<img src="'.base_url().'public/images/'.$images[5]['images'].'" class="statusicon" width="275" height="170">');
		echo "</td></tr>";
		
		echo "<tr><td>";
			echo anchor(base_url().'addmincont/editImgHome/7',$images[6]['name']).'<br>';
			echo anchor(base_url().'addmincont/editImgHome/7','<img src="'.base_url().'public/images/'.$images[6]['images'].'" class="statusicon" width="275" height="170">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImgHome/8',$images[7]['name']).'<br>';
			echo anchor(base_url().'addmincont/editImgHome/8','<img src="'.base_url().'public/images/'.$images[7]['images'].'" class="statusicon" width="275" height="170">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImgHome/9',$images[8]['name']).'<br>';
			echo anchor(base_url().'addmincont/editImgHome/9','<img src="'.base_url().'public/images/'.$images[8]['images'].'" class="statusicon" width="275" height="170">');
		echo "</td></tr>";
echo '</table></form>';